{% extends 'TopxiaWebBundle:EsBar:layout.html.twig' %}

{% block esBarTitle %}
  {{'我的课程'|trans}}/{{ setting('classroom.name')|default("班级"|trans) }}
{% endblock %}

{% block esBarBody %}
  <div class="text-center">
    <div class="btn-group btn-action">
      <a href="javascript:;" data-url="{{ path('esbar_my_course') }}" class="btn btn-primary {% if esBarMenu|default('') != 'classroom' %}active{% endif %}"
         id="bar-course-btn">{{'课程'|trans}}</a>
      <a href="javascript:;" data-url="{{ path('esbar_my_classroom' ) }}" class="btn btn-primary {% if esBarMenu|default('') == 'classroom' %}active{% endif %}"
         id="bar-classroom-btn">{{ setting('classroom.name')|default("班级"|trans) }}</a>
    </div>
  </div>

  <div id="bar-my-course">
    {% block myStudyPlace%}
    {% endblock %}
  </div>
{% endblock %}